'use strict';
	const db = uniCloud.database()
	// 运行云端函数
exports.main = async (event, context) => {
	//event为客户端上传的参数
	console.log('event : ', event)
	// 获取 `user` 集合的引用
	const collection = db.collection('user');
	const res = collection.add({
		"name": 'ZQ'
	})
	console.log(res);
	//返回数据给客户端
	return event
};
